package com.yonyou.pmclouds.enterprise.mapper;

import com.yonyou.pmclouds.basecom.dao.BaseMapper;
import com.yonyou.pmclouds.enterprise.entity.EnterpriseQueryParam;
import com.yonyou.pmclouds.enterprise.entity.EnterpriseVO;
import org.apache.ibatis.annotations.Param;

/**
 * @Author chulf
 * @Date 2020/4/13
 * @Description
 **/
public interface EnterpriseMapper extends BaseMapper<EnterpriseVO> {

    /**
     *
     * @param param
     * @return 通过 企业名称,企业角色,企业组织获取企业信息
     */
    EnterpriseVO[] selectEtpsByCondition(EnterpriseQueryParam param);

    EnterpriseVO[] selectByCondition(EnterpriseQueryParam param);

    /**
     *
     * @param pks
     * @return 通过主键获取对用的企业信息
     */
    EnterpriseVO[] selectEtpsByPks(@Param("pks") String[] pks);

}
